import { defineComponent } from "vue";
import style from "./index.module.less";
import { useDetail } from "@/hooks";
import { requestProps } from "./types";
export default defineComponent({
  name: "",
  props: requestProps,
  setup(_, { slots }) {
    const [detail] = useDetail(_.url, []);
    return () => {
      return <div>{slots.default?.(detail.value || [])}</div>;
    };
  },
});
